Login method Customization using GINA [closed]
Posted
by netseng
on Stack Overflow
See other posts from Stack Overflow
or by netseng
Published on 2009-02-07T15:16:21Z
Indexed on
2010/05/17
3:50 UTC
Read the original article
Hit count: 298
DUPLICATE:http://stackoverflow.com/questions/523912/login-method-customization-using-gina
Hi All,
I know it's not easy to find a master in GINA, but my question is most near to Interprocess Communication(IPC), I wrote my custom GINA in unmanaged c++, I included it a method that checks for validity of a fingerprint for the user try to login, this function will call some method in a running system windows service written in c#, the code follows:
in GINA, unmanaged c++
if(Fingerprint.Validate(userName,finerprintTemplate)
{
//perform login
}
in windows service, C#
public class Fingerprint
{
public static bool Validate(string userName, byte[] finerprintTemplate)
{
//Preform Some code to validate fingerprintTemplate with userName
//and retuen result
}
}
Does anyone know how to do such Communication between GINA and the windows service, or simply between c++ written service and C# written service.
Thanks
© Stack Overflow or respective owner